﻿using System.ComponentModel.DataAnnotations;
using System.Xml.Linq;

namespace ManagementApi.Models.Project
{
    /// <summary>
    /// 施工企业-项目管理员信息表单
    /// </summary>
    public class ProjectBindManagerForm
    {
        /// <summary>
        /// 人员Id
        /// </summary>
        [Display(Name = "人员Id")]
        [Required(ErrorMessage = "{0}不能为空")]
        public int PersonId { get; set; }

        /// <summary>
        /// 项目ID
        ///</summary>
        [Display(Name = "项目ID")]
        [Required(ErrorMessage = "{0}不能为空")]
        public int ProjectId { get; set; }

        ///// <summary>
        ///// 验证码
        /////</summary>
        //[Display(Name = "验证码")]
        //[Required(ErrorMessage = "{0}不能为空")]
        //public string VerificationCode { get; set; }

        /// <summary>
        /// 登陆密码
        /// </summary>
        [Display(Name = "登陆密码")]
        public string? Password { get; set; }

        /// <summary>
        /// 明字密码
        /// </summary>
        [Display(Name = "明字密码")]
        public string? ObviousPassword { get; set; }

    }
}